package com.zoo.wuhua.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zoo.wuhua.entity.Book;
import com.zoo.wuhua.mapper.BookMapper;

/**
 * @description
 * @author zhangli7@yusys.com.cn
 * @since 2020年2月15日 下午10:44:03 v1.0
 */
@Service
public class BookService {
    @Autowired
    BookMapper bookMapper;

    public int addBook(Book book) {
        return bookMapper.addBook(book);
    }
}
